import { BaseListQuery } from './common'

// 请求用户列表参数
export interface UserListQuery extends BaseListQuery {
  username?: string;
}

export interface UserListItem {
  id: number;
  username: string;
  age: number;
}

export interface UserDetail{
  id: number;
  username: string;
  age: number;
  sex: string;
}

export interface UserEditBody{
  username: string;
  age: number;
  sex: string;
}
// editBody一般和EditFrom相同
export interface UserEditForm{
  username: string;
  age: number;
  sex: string;
}
